import React from 'react'

import {  Route, Navigate, useRoutes } from 'react-router-dom'

import Routes from './routes'


// import Main from './components/main'
// import Login from './components/Login'
// import NotFind from './components/404'
// import About from './components/main/About'
// import Home from './components/main/Home'

export default function App() {
  return (
    <div>
      {useRoutes(Routes)}
    </div>
  )
}
